<!--
/**
 * Copyright (c) 快宝网络 kuaidihelp.com Co., Ltd. All Rights Reserved 禁止外泄以及用于其它的商业用途
 */
-->
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, minimum-scale=1, user-scalable=no,viewport-fit=cover" />
    <meta name="Keywords" content="快宝智慧快递管理平台,快宝驿站,快递驿站,驿站管理,快递网点,区域管理,快递区域自治,快递财务结算,快宝同城,跑腿急送,快宝共配"></meta>
    <meta name="Description" content="快宝智慧快递管理系统，专为快递网点公司管理下属驿站、业务员和构建快递末端多元化商业而生。包含区域内快宝驿站管理、快宝同城、即时配送、快宝共配系统管理、财务结算、大客户管理、快递员管理等多维度的快递网点公司综合管理系统，是快递末端实现“区域自治化，流量私域化及本土品牌自有化”的好帮手。" ></meta>
    <title><%= context.title %></title>
    <link rel="icon" href="/favicon.png" type="image/x-icon" />
    <script src="//gw.alipayobjects.com/os/antv/assets/data-set/0.8.7/data-set.min.js"></script>
    <script src="//js.kuaidihelp.com/pho/min-areas.js?v202109141445"></script>
    <script src="//js.kuaidihelp.com/comm/brands.js?v202106031523"></script>
    <script src="//js.kuaidihelp.com/comm/poster.js?v=201901111631"></script>
    <script src="//cdn-js.kuaidihelp.com/pho/min-areas.js" type="text/javascript"></script>
    <script type="text/javascript">
      window.areaList = address;
      var host = window.location.host;
      var ymKeyConfig = {
        'city.kuaidihelp.com': '6329792205844627b54eeb5b',
        'gp.chinapostcnps.com': '632979ee88ccdf4b7e33945f'
      }
      var ymKey = ymKeyConfig[host];

      if( ymKey ){
        (function (w, d, s, q, i) {
          w[q] = w[q] || [];
          var f = d.getElementsByTagName(s)[0],
            j = d.createElement(s);
          j.async = true;
          j.id = 'beacon-aplus';
          j.src = 'https://d.alicdn.com/alilog/mlog/aplus/' + i + '.js';
          f.parentNode.insertBefore(j, f);
        })(window, document, 'script', 'aplus_queue', '203467608');
        aplus_queue.push({
          action: 'aplus.setMetaInfo',
          arguments: ['appKey', ymKey],
        });
        aplus_queue.push({
          action: 'aplus.setMetaInfo',
          arguments: ['aplus-waiting', 'MAN'],
        });
      }

    </script>
  </head>

  <body>
    <div id="root"></div>
    <!--友盟统计-->
    <script type="text/javascript">
      // ie9兼容;目前ie9 请求还有bug
      if (!window.requestAnimationFrame) {
        window.requestAnimationFrame = function(callback) {
          return setTimeout(callback, 0);
        };
        window.cancelAnimationFrame = function(id) {
          id && clearTimeout(id);
        };
      }

      function IEVersion() {
        var userAgent = navigator.userAgent; //取得浏览器的userAgent字符串
        var isIE = userAgent.indexOf("compatible") > -1 && userAgent.indexOf("MSIE") > -1; //判断是否IE<11浏览器
        var isEdge = userAgent.indexOf("Edge") > -1 && !isIE; //判断是否IE的Edge浏览器
        var isIE11 = userAgent.indexOf("Trident") > -1 && userAgent.indexOf("rv:11.0") > -1;
        if (isIE) {
          var reIE = new RegExp("MSIE (\\d+\\.\\d+);");
          reIE.test(userAgent);
          var fIEVersion = parseFloat(RegExp["$1"]);
          if (fIEVersion <= 10) {
            document.querySelector("body").innerHTML =
              '<div style="padding: 10px;background-color: #fffbe6;color:#333;font-size:20px;text-align:center;">浏览器版本过低，请升级浏览器，或使用谷歌，火狐，360等现代浏览器！</div>';
          }
        } else if (isEdge) {
          return "edge"; //edge
        } else if (isIE11) {
          return 11; //IE11
        } else {
          return -1; //不是ie浏览器
        }
      }

      window.onload = IEVersion;
    </script>
  </body>
</html>
